ahrefs\AhrefsSeo_Vendor\phpseclib\Net\SSH2 D

Total Complexity 652
Dependencies 13
Dependents 1
Total lines 4,189
Lines of code 2,335
Logical lines of code 1,709
Comment lines 1,655
Methods 91
Properties 86

Methods 91

Method Rating Maintainability Complexity Lines of code
_key_exchange()
D
3
106 454
_get_channel_packet()
D
20
61 201
_filter()
D
26
43 135
_login_helper()
D
28
35 127
_get_binary_packet()
D
29 36 110
getServerPublicHostKey()
D
28
30 130
_connect()
C
31 29 103
_keyboard_interactive_process()
C
34 24 89
exec()
B
36 21 81
_encryption_algorithm_to_key_size()
B
47 24 33
_encryption_algorithm_to_crypt_instance()
B
46 21 34
_privatekey_login()
B
35 16 86
setPreferredAlgorithms()
A
44 13 44
_append_log()
A
42 12 54
read()
A
47 12 33
getSupportedEncryptionAlgorithms()
A
43 9 49
_send_binary_packet()
A
47 8 29
_generate_identifier()
S
54 7 21
_initShell()
S
50 6 28
_close_channel()
S
55 6 19
_login()
S
57 6 17
startSubsystem()
S
52 5 25
ping()
S
54 5 21
getLog()
S
59 5 14
login()
S
59 5 13
_format_log()
S
53 4 20
_send_channel_packet()
S
56 4 17
__construct()
S
47 3 28
_define_array()
S
62 4 12
write()
S
62 4 11
_disconnect()
S
61 4 11
_get_open_channel()
S
64 4 9
_bad_algorithm_candidate()
S
66 4 9
_reconnect()
S
62 3 11
_get_interactive_channel()
S
66 3 10
disconnect()
S
71 3 6
_ssh_agent_login()
S
64 3 10
_updateLogHistory()
S
70 3 5
_array_intersect_first()
S
67 3 8
getSupportedKEXAlgorithms()
S
62 2 13
_on_channel_open()
S
75 2 5
getLastError()
S
70 2 6
getExitStatus()
S
72 2 6
disablePTY()
S
70 2 7
_keyboard_interactive_login()
S
66 2 7
enablePTY()
S
81 1 3
getAlgorithmsNegotiated()
S
72 1 4
getCompressionAlgorithmsServer2Client()
S
78 1 4
getLanguagesServer2Client()
S
78 1 4
getLanguagesClient2Server()
S
78 1 4
getServerAlgorithms()
S
72 1 4
setTimeout()
S
81 1 3
getSupportedHostKeyAlgorithms()
S
70 1 8
getSupportedMACAlgorithms()
S
68 1 9
getSupportedCompressionAlgorithms()
S
82 1 3
sendKEXINITLast()
S
81 1 3
getMACAlgorithmsServer2Client()
S
78 1 4
getBannerMessage()
S
83 1 3
sendKEXINITFirst()
S
81 1 3
sendIdentificationStringLast()
S
81 1 3
getWindowColumns()
S
83 1 3
getWindowRows()
S
83 1 3
setWindowColumns()
S
82 1 3
setWindowRows()
S
82 1 3
setWindowSize()
S
77 1 4
sendIdentificationStringFirst()
S
81 1 3
getCompressionAlgorithmsClient2Server()
S
78 1 4
getMACAlgorithmsClient2Server()
S
78 1 4
setCryptoEngine()
S
82 1 3
isTimeout()
S
83 1 3
isPTYEnabled()
S
83 1 3
isQuietModeEnabled()
S
83 1 3
disableQuietMode()
S
81 1 3
enableQuietMode()
S
81 1 3
_reset_connection()
S
63 1 10
isAuthenticated()
S
80 1 3
isConnected()
S
80 1 3
_string_shift()
S
72 1 5
__destruct()
S
83 1 3
reset()
S
82 1 3
getEncryptionAlgorithmsServer2Client()
S
78 1 4
_format_log_helper()
S
76 1 3
stopSubsystem()
S
73 1 5
getStdError()
S
83 1 3
getErrors()
S
83 1 3
setKeepAlive()
S
82 1 3
getServerIdentification()
S
78 1 4
getKexAlgorithms()
S
78 1 4
getServerHostKeyAlgorithms()
S
78 1 4
getEncryptionAlgorithmsClient2Server()
S
78 1 4
getAuthMethodsToContinue()
S
82 1 3